import os
import logging

def test1():
    a = ["one"] + ["two"]
    print(a)
    a = "/home/xxx"
    if os.path.exists(a) is False:

        raise FileExistsError
    print("hello world")

def test2():
    logging.basicConfig(level=logging.INFO)
    logger = logging.getLogger()

    logger.info("hello world")

def test3():
    a = ['a', 'b', 'c']
    b = ""
    for x in a:
        b += x
    print(b)

def test4():
    a = {"1":1, "2":2}
    print(a)
    for key, value in a.items():
        print(type(key), type(value))
        print(key, value)
    if "1" in a:
        print("in")

def test5():
    a = "[100, ]"
    for x in eval(a):
        print(x, type(x))

if __name__ == '__main__':
    test5()